package com.aviccxzx.smarthome.entity;

import java.util.List;

/**
 * Created by joey on 2017/10/19.
 */

public class DeviceWorkBean {

    /**
     * code : 0
     * data : [{"disarmSwitch":0,"mac":"string","parentMac":"string"}]
     * message : string
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * disarmSwitch : 0
         * mac : string
         * parentMac : string
         */

        private int disarmSwitch;
        private String mac;
        private String parentMac;

        public int getDisarmSwitch() {
            return disarmSwitch;
        }

        public void setDisarmSwitch(int disarmSwitch) {
            this.disarmSwitch = disarmSwitch;
        }

        public String getMac() {
            return mac;
        }

        public void setMac(String mac) {
            this.mac = mac;
        }

        public String getParentMac() {
            return parentMac;
        }

        public void setParentMac(String parentMac) {
            this.parentMac = parentMac;
        }
    }
}
